package com.hcw.bankdemo;

import com.hcw.bankdemo.service.AccountService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

import javax.annotation.PostConstruct;
import java.math.BigDecimal;

/**
 * @description:银行转账demo 启动类
 * @author: hcw
 * @time: 2020/8/29 10:02
 */
@SpringBootApplication
@MapperScan(basePackages = "com.hcw.bankdemo.mapper")
@EnableEurekaClient
public class BankDemoApplication {

    @Autowired
    RestTemplate restTemplate;


    public static void main(String[] args) {
        SpringApplication.run(BankDemoApplication.class, args);
    }

}
